package com.sunnuwell.demo.repository;

import com.sunnuwell.demo.entity.Resource;
import com.sunnuwell.demo.entity.User;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @program: entry
 * @description:
 * @author: Mr.lv
 * @create: 2019-04-24 10:44
 **/

public interface ResourceRepository extends MongoRepository<Resource, String> {

    public List<Resource> findAll();
}